package main

import (
	"B-Gin-Vue-2/common"
	"fmt"

	"github.com/gin-gonic/gin"
)

func main() {
	//链接数据库
	db := common.InitDB()

	r := gin.Default()
	r = CollectRoute(r)

	panic(r.Run())
	//	defer db.Close()
	fmt.Printf("%T", db)
}
